#include "LMONDisplay.h"
#include "Signal.h"
#include <stdio.h>

LMONDisplay::LMONDisplay(Signal* s, QColor color, int height, bool positionIsShared)
	: _color(color), _positionIsShared(positionIsShared), _rect(QRect(0,0,0,0)), _height(height)
{
	_name = s->getName();
	_pHistory = s->getHistory();
}
void LMONDisplay::drawSignal(QPaintDevice*)
{
}

void LMONDisplay::setRect(int left, int top, int right, int bottom)
{
	_rect = QRect(left, top, right, bottom);
}

bool LMONDisplay::positionIsShared()
{
	return _positionIsShared;
}

QRect LMONDisplay::getRect()
{
	return _rect;
}

void LMONDisplay::setScaleX(int)
{

}

int LMONDisplay::getHeight()
{
	return _height;
}
